package com.olympus.hermes.product.bean.dto.category;

import com.olympus.hermes.common.bean.AbstractBeanConvert;
import com.olympus.hermes.product.domain.Category;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author Mickey
 * @since 2021/1/17
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class CreateCategoryDTO extends AbstractBeanConvert<CreateCategoryDTO, Category> {

    private String name;

    private Long parentId;

    @Override
    protected Category doForward(CreateCategoryDTO createCategoryDTO) {
        return null;
    }

    @Override
    protected CreateCategoryDTO doBackward(Category category) {
        return null;
    }
}
